package com.jsh.erp.feign.system;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

@FeignClient(name = "jsh-system", path = "/jshERP-boot/remote/api/log", contextId = "LogRemoteClient")
public interface LogRemoteClient {
    @GetMapping("/insertLog")
    void insertLog(@RequestParam("moduleName") String moduleName,
                   @RequestParam("content") String content,
                   @RequestParam("request") HttpServletRequest request) throws Exception;
}
